package com.xiaoshuidi.cloud.module.bpm.framework.rpc.config;

import com.xiaoshuidi.cloud.module.contract.api.ContractApplyApi;
import com.xiaoshuidi.cloud.module.finance.api.finance.FinancePaymentChangeLogApi;
import com.xiaoshuidi.cloud.module.member.api.feedback.FeedbackApi;
import com.xiaoshuidi.cloud.module.member.api.user.MemberUserApi;
import com.xiaoshuidi.cloud.module.contract.api.ContractRentOrderApi;
import com.xiaoshuidi.cloud.module.rooms.api.apartment.ApartmentApi;
import com.xiaoshuidi.cloud.module.rooms.api.roomentrust.RoomEntrustApi;
import com.xiaoshuidi.cloud.module.rooms.api.roomhouse.RoomHouseApi;
import com.xiaoshuidi.cloud.module.rooms.api.roomstate.RoomStateRecordApi;
import com.xiaoshuidi.cloud.module.system.api.dept.DeptApi;
import com.xiaoshuidi.cloud.module.system.api.dept.PostApi;
import com.xiaoshuidi.cloud.module.system.api.dict.DictDataApi;
import com.xiaoshuidi.cloud.module.system.api.permission.RoleApi;
import com.xiaoshuidi.cloud.module.system.api.sms.SmsSendApi;
import com.xiaoshuidi.cloud.module.system.api.user.AdminUserApi;
import org.springframework.cloud.bus.jackson.RemoteApplicationEventScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;

@Configuration(proxyBeanMethods = false)
@EnableFeignClients(clients = {RoleApi.class, DeptApi.class, PostApi.class, AdminUserApi.class, RoomStateRecordApi.class, ContractApplyApi.class,
        SmsSendApi.class, DictDataApi.class, RoomHouseApi.class, MemberUserApi.class, RoomEntrustApi.class,ContractRentOrderApi.class, ApartmentApi.class,
        FeedbackApi.class, FinancePaymentChangeLogApi.class})
@RemoteApplicationEventScan({"com.xiaoshuidi.cloud.module.bpm.mq.message"})
public class RpcConfiguration {
}
